package com.xiaoshuidi.cloud.module.bpm.controller.admin.swo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import static com.xiaoshuidi.cloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;


@Schema(description = "管理后台 - wo 服务工单申请分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SwoTicketPageReqVO extends PageParam {

    @Schema(description = "搜索框")
    private String searchBox;

    @Schema(description = "门店id")
    private Long apartmentId;

    @Schema(description = "服务类型")
    private Integer serviceType;

    @Schema(description = "状态：1：待指派；2：进行中 3: 已完成")
    private Integer status;

    @Schema(description = "进度：0：待处理；1：处理中；2：已处理；3：不予处理")
    private Integer processStatus;

    @Schema(description = "服务日期开始")
    private LocalDate serviceTimeStart;

    @Schema(description = "服务日期结束")
    private LocalDate serviceTimeEnd;

    @Schema(description = "创建时间开始")
    private LocalDate createTimeStart;

    @Schema(description = "创建时间结束")
    private LocalDate createTimeEnd;

    @Schema(description = "处理人id")
    private Long assigneeUserId;
    @Schema(description = "完成时间-开始")
    private LocalDateTime completeTimeStart;

    @Schema(description = "完成时间-结束")
    private LocalDateTime completeTimeEnd;

}

